package com.yz.xyt.constant;


/**
 * 通用常量信息
 *
 */
public class Constants
{
    /**
     * 默认条数
     */
    public static final Integer DEFAULT_PAGE_SIZE = 10;

    /**
     * 默认页码
     */
    public static final Integer DEFAULT_PAGE_NUMBER = 1;

    /**
     * 默认初始密码
     */
    public static final String DEFAULT_PASSWORD = "123456";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 账号禁用状态
     */
    public static final String ACCOUNT_DISABLE = "1";

    /**
     * 账号正常状态
     */
    public static final String ACCOUNT_ENABLE = "0";

    /**
     * 通知公告发布状态
     */
    public static final String NOTICE_PUBLISH = "0";

    /**
     * 通知公告下架状态
     */
    public static final String NOTICE_OFF = "1";

    /**
     * 通知公告未发布状态
     */
    public static final String NOTICE_NO_PUBLISH = "2";

    /**
     * 报备请假关闭
     */
    public static final String RULE_NUMBER_OFF = "1000";
    /**
     * 疫情收紧
     */
    public static final String RULE_NUMBER_SHRINK = "1001";
    /**
     * 疫情常态
     */
    public static final String RULE_NUMBER_NORMAL = "1002";

    /**
     * 请假待审批
     */
    public static final String APPROVAL_WAIT = "1";
    /**
     * 请假审批中
     */
    public static final String APPROVAL_IN = "2";
    /**
     * 请假拒绝
     */
    public static final String APPROVAL_REJECT = "3";
    /**
     * 请假撤回
     */
    public static final String APPLY_RECALL = "4";
    /**
     * 请假中
     */
    public static final String LEAVE_IN = "5";

    /**
     * 已销假
     */
    public static final String LEAVE_CANCEL="6";

    /**
     * 超时未审批
     */
    public static final String LEAVE_TIME_OUT_NOT_APPROVAL="7";
    /**
     * 超时未销假
     */
    public static final String LEAVE_TIME_OUT_NOT_CANCEL="8";
    /**
     * 请假状态 - 待审批
     */
    public static final String LEAVE_STATUS_DSP = "待审批";
    /**
     * 请假状态 - 审批中
     */
    public static final String LEAVE_STATUS_SPZ = "审批中";
    /**
     * 请假状态 - 拒绝
     */
    public static final String LEAVE_STATUS_JJ = "拒绝";
    /**
     * 请假状态 - 撤销
     */
    public static final String LEAVE_STATUS_CX = "撤销";
    /**
     * 请假状态 - 请假中
     */
    public static final String LEAVE_STATUS_QJZ = "请假中";
    /**
     * 请假状态 - 已销假
     */
    public static final String LEAVE_STATUS_YXJ="已销假";
    /**
     * 请假状态 - 超时未审批
     */
    public static final String LEAVE_STATUS_CSWSP="超时未审批";
    /**
     * 请假状态 - 超时未销假
     */
    public static final String LEAVE_STATUS_CSWXJ="超时未销假";


    /**
     * 自动审批标识
     */
    public static final String AUTO_APPROVAL_TYPE = "auto";

    /**
     * 报备请假类型
     */
    public static final String LEAVE_TYPE_REPORT = "0";
    /**
     * 事假请假类型
     */
    public static final String LEAVE_TYPE_SJ = "1";
    /**
     * 病假请假类型
     */
    public static final String LEAVE_TYPE_BJ = "2";
    /**
     * 节日请假类型
     */
    public static final String LEAVE_TYPE_JR = "3";

    /**
     * 其他请假类型
     */
    public static final String LEAVE_TYPE_OTHER = "4";


    /**
     * 辅导员
     */
    public static final String APPROVAL_ROLE_FD = "辅导员";
    /**
     * 书记
     */
    public static final String APPROVAL_ROLE_SJ = "书记";
    /**
     * 学生处
     */
    public static final String APPROVAL_ROLE_XSC = "学生处";
    /**
     * 分管领导
     */
    public static final String APPROVAL_ROLE_FGLD = "分管领导";
    /**
     * 请假等级一级
     */
    public static final String LEAVE_LEVEL_1 = "1";
    /**
     * 请假等级二级
     */
    public static final String LEAVE_LEVEL_2 = "2";
    /**
     * 请假等级三级
     */
    public static final String LEAVE_LEVEL_3 = "3";
    /**
     * 请假等级三级
     */
    public static final String LEAVE_LEVEL_4 = "4";

    /**
     * 审批状态辅导员
     */
    public static final String APPROVAL_STATUS_FD = "1";
    /**
     * 审批状态书记
     */
    public static final String APPROVAL_STATUS_SJ = "2";
    /**
     * 审批状态学生处
     */
    public static final String APPROVAL_STATUS_XSC = "3";
    /**
     * 审批状态分管领导
     */
    public static final String APPROVAL_STATUS_FGLD = "4";
    /**
     * 审批状态结束
     */
    public static final String APPROVAL_STATUS_END = "5";

    /**
     * 审批状态-异常终止
     */
    public static final String APPROVAL_STATUS_ERROR_STOP = "6";

    /**
     * 学生角色
     */
    public static final String ROLE_STUDENT = "学生";
    /**
     * 管理员角色
     */
    public static final String ROlE_ADMIN="管理员";

    /**
     * 报备请假规则停用状态
     */
    public static final String REPORT_LEAVE_STOP = "0";
    /**
     * 报备请假规则启用状态
     */
    public static final String REPORT_LEAVE_START = "1";

    /**
     * 翻译-请假类型-报备请假
     */
    public static final String TRANSLATE_LEAVE_TYPE_REPORT="报备请假";

    /**
     * 翻译-请假类型-事假
     */
    public static final String TRANSLATE_LEAVE_TYPE_SJ = "事假";
    /**
     * 翻译-请假类型-病假
     */
    public static final String TRANSLATE_LEAVE_TYPE_BJ = "病假";
    /**
     * 翻译-请假类型-节日请假
     */
    public static final String TRANSLATE_LEAVE_TYPE_JR = "节日";
    /**
     * 翻译-请假类型-其他请假
     */
    public static final String TRANSLATE_LEAVE_TYPE_OTHER = "其他";

    /**
     * 门禁响应码-成功
     */
    public static final int CARD_RESULT_SUCCESS = 1;

    /**
     * 门禁响应码-失败
     */
    public static final int CARD_RESULT_ERROR = -1;


    /**
     * 翻译-通知公告发布状态
     */
    public static final String TRANSLATE_NOTICE_PUBLISH = "发布";

    /**
     * 翻译-通知公告下架状态
     */
    public static final String TRANSLATE_NOTICE_OFF = "下架";

    /**
     * 翻译-通知公告未发布状态
     */
    public static final String TRANSLATE_NOTICE_NO_PUBLISH = "未发布";

    /**
     * 翻译-报备请假规则停用状态
     */
    public static final String TRANSLATE_REPORT_LEAVE_STOP = "关闭";
    /**
     * 翻译-报备请假规则启用状态
     */
    public static final String TRANSLATE_REPORT_LEAVE_START = "启用";

    public static final String REPORT_LEAVE_RULE_OFF = "报备请假关闭";
    public static final String REPORT_LEAVE_RULE_ATTRACTION = "疫情收紧";
    public static final String REPORT_LEAVE_RULE_NORMAL = "疫情常态";
    /**
     * 我已审批
     */
    public static final String MY_APPROVAED = "90" ;
}
